package com.mss.media.config.shiro;

import org.apache.shiro.authc.AuthenticationToken;

/**
 * @Author 湫
 * @Date 2021/11/25 13:40
 * Name ShiroToken
 */
public class ShiroToken implements AuthenticationToken {

    private String token;
    public ShiroToken(String token) {
        this.token = token;
    }

    @Override
    public Object getPrincipal() {
        return this.token;
    }

    @Override
    public Object getCredentials() {
        return this.token;
    }
}
